<template>
	<view class="item-main">
		<view class="item-top">
			<text class='left'>招聘货车司机一名</text>
			<text class='right' @click="publish">发布悬赏</text>
		</view>
		<view class="item-center">
			<view class="acea-row row-middle info">
				<image class='item-img' src="../static/images/nav_05.png" mode="aspectFill"></image>
				<view class="content-main">
					<view class="line1 break acea-row"><text class="limit">店铺名称：兴盛优选 </text><text
							class="red status">审核中</text></view>
					<view class="line">招聘人数：3人</view>
					<view class="line">薪资待遇：3000-4000元</view>
					<view class="line">经验要求：1-3年</view>
				</view>
			</view>
		</view>
		<view class="item-bottom">
			<view class="info">已为您匹配到1200人·浏览 112 ·咨询0</view>
			<view class="bottom-btn acea-row row-between">
				<text>置顶</text>
				<text>群发</text>
				<text>VIP</text>
				<text>访客</text>
				<text>编辑</text>
				<text>设置</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: Object
		},
		data() {
			return {

			}
		},
		methods: {
		pulish() {
				wx.navigateTo({
					url:'/pages/releases/offeraRreward/offeraRreward'
				})
			},
		}
	}
</script>

<style lang="scss">
	.break {
		word-break: break-all;
	}

	.red {
		color: #EE212D;
	}

	.col_A6 {
		color: #A6A6A6;
	}

	.font600 {
		font-weight: 600;
	}

	.item-main {
		padding-bottom: 36rpx;
		background-color: #ffffff;
		margin: 0rpx 28rpx;
		border-radius: 2rpx;
		padding: 0rpx 24rpx 0rpx 28rpx;

		.item-top {
			// margin: 0rpx 24rpx 0rpx 28rpx;
			border-bottom: 2rpx solid rgba(238, 238, 238, 1);
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 86rpx;

			.left {
				font-size: 30rpx;
				font-weight: 400;
				color: rgba(56, 56, 56, 1);
			}

			.right {
				border-radius: 10rpx;
				background-color: rgb(238, 33, 45);
				color: rgba(255, 255, 255, 1);
				font-size: 24rpx;
				width: 122rpx;
				height: 44rpx;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}

		.item-center {
			display: flex;
			justify-content: space-between;
			margin-top: 36rpx;
			padding-bottom: 40rpx;
			border-bottom: 2rpx solid rgba(238, 238, 238, 1);

			.info {
				position: relative;
                width: 100%;
				.item-img {
					width: 170rpx;
					height: 144rpx;
					border-radius: 10rpx;
					margin-right: 18rpx;
				}

				.content-main {
					flex: 1;
					font-size: 24rpx;
					font-weight: 400;
					line-height: 20px;
					color: rgba(128, 128, 128, 1);

					.line1 {
						position: relative;
					}
				}
			}

			span {
				font-size: 22rpx;
				font-weight: 400;
				color: rgba(238, 33, 45, 1);
			}
		}

		.item-bottom {
			.info {
				margin-top: 20rpx;
				font-size: 22rpx;
				font-weight: 400;
				line-height: 40rpx;
				color: rgba(166, 166, 166, 1);
			}

			.bottom-btn {
				padding-bottom: 36rpx;
				margin-top: 18rpx;

				text {
					font-size: 24rpx;
					color: rgba(128, 128, 128, 1);
					width: 90rpx;
					line-height: 44rpx;
					border-radius: 4rpx;
					border: 2rpx solid rgba(229, 229, 229, 1);
					display: flex;
					justify-content: center;
				}
			}
		}
	}

	.limit {
		max-width: 380rpx;
	}

	.status {
		position: absolute;
		right: 0;
		top: 0;
	}
</style>
